import request from '@/config/request.js';

// 查询用户详细资料列表
export function listProfiles(query) {
  return request.get('/custom/profiles/list', query)
}

// 查询用户详细资料详细
export function getProfiles(profileId) {
  return request.get('/custom/profiles/' + profileId)
}

// 新增用户详细资料
export function addProfiles(data) {
  return request.post('/custom/profiles', data)
}

// 修改用户详细资料
export function updateProfiles(data) {
  return request.put('/custom/profiles', data)
}

// 删除用户详细资料
export function delProfiles(profileId) {
  return request.delete('/custom/profiles/' + profileId)
}
